﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dunnice.BlogIndex.Entity
{
    /// <summary>
    /// 博客服务器.
    /// </summary>
    public class BlogServerAttribute : Attribute
    {
        public BlogServerAttribute(string name, string chsName, string url)
        {
            this.BlogServerName = name;
            this.BlogServerChsName = chsName;
            this.BlogDefaultUrl = url;
        }

        /// <summary>
        /// 博客服务器种中文名称.
        /// </summary>
        public string BlogServerChsName { get; set; }

        /// <summary>
        /// 博客服务器名称.
        /// </summary>
        public string BlogServerName { get; set; }

        /// <summary>
        /// 博客服务器默认URL.
        /// </summary>
        public string BlogDefaultUrl { get; set; }
    }
}
